package com.xmhmyh.generalframework.common.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: 于丁
 * @Description: 前端传过来的条件
 * @DateTime: 2020/7/29 6:48 下午
 * @Params:
 * @Return
 */
@Data
public class Condition implements Serializable {


    private static final long serialVersionUID = 2649688148792989605L;
    private String field;

    private String operator;

    private List<String> values;

    public Condition(String field, String operator, List<String> values) {
        this.field = field;
        this.operator = operator;
        this.values = values;
    }
}
